package com.atmilan.quartz.model.dto.buyer;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 【请填写功能名称】对象 t_manifest
 * 
 * @author muyu
 * @date 2020-09-01
 */
@Data
@EqualsAndHashCode(callSuper=false)
public class ManifestDTO extends BaseDTO {
    private static final long serialVersionUID = 1L;
    private Long merchantId;
    /** $column.columnComment */
    private Long id;
    /** 货单名称 */
    private String manifestName;

    /** 加价率 */
    private BigDecimal priceIncreaseRate;
    /** 商家ID */
    private Long enterpriseId;
    /** 状态（1启用 2冻结） */
    private Integer status;
    //产品数量
    private Integer productCount;

    //sku数量
    private Integer skuCount;

    //库存数量
    private Integer stockCount;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("manifestName", getManifestName()).append("priceIncreaseRate", getPriceIncreaseRate()).append("enterpriseId", getEnterpriseId()).append("remark", getRemark()).append("status", getStatus()).append("createTime", getCreateTime()).append("editTime", getEditTime()).append("creator", getCreator()).append("editor", getEditor()).append("isDeleted", getIsDeleted()).toString();
    }
}
